package com.rush.manageepac.dao;

import com.rush.manageepac.dto.DayReportDto;
import com.rush.manageepac.entity.CommunityPeople;
import com.rush.manageepac.entity.DayReport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 于zH
 * @data 2022/8/29 9:03
 */
public interface DayReportDao {
    int save(DayReport dayReport);

    int delete(int id);

    //int update(DayReport dayReport);

    long selectCount(String name);

    List<DayReportDto> selectPage(@Param("name") String name, @Param("start") int start, @Param("size") int size);
}
